package thinkingJava.chapter05;

import static util.Print.*;

class Cup {
	Cup(int marker) {
		print("Cup(" + marker + ")");
	}
	void f1(int marker) {
		print("f1(" + marker + ")");
	}
}
class Cups {
	static Cup cup1;
	static Cup cup2;
	static {
		cup1 = new Cup(1);
		cup2 = new Cup(2);
	}
	Cups() {
		print("Cups()");
	}
}
public class ExplictStatic {
	public static void main(String[] args) {
		print("Inside main");
		Cups.cup1.f1(99);
	}
}
